<?php
if (!defined('IN_IPB')) exit("<h1>Incorrect access</h1> You may not access this file without the acp.");

class lottery_template
{
	var $name = "";
	var $description = "";
	
	var $ipsclass;
	
	var $lottery;
	
	function _load(&$lottery)
	{
		$this->lottery = &$lottery;
	}
	
	function admin_form() { return ""; } // For the ACP to use
	function admin_save($action,&$lottery) { return; } // For the ACP to use
	function admin_delete() { return; } // For the ACP to use
	function prizes_types($editing = 0) { return array(); }
	
	function create_ticket(&$ticket) { return; }
	function create_numbers() { return array(); }
	function display_numbers($numbers = array()) { return ""; }
	function check_ticket($ticket,$correct_numbers) { return false; } // Check if it is a winning ticket, return should someting in prize type
}
?>